#include "PixLabel.h"
#include <qevent.h>

PixLabel::PixLabel(QWidget *parent)
    : QLabel (parent)
{

}

void PixLabel::mousePressEvent(QMouseEvent *event)
{
    if (event->button() == Qt::LeftButton)
    {
        emit clicked();
    }
    QLabel::mousePressEvent(event);
}
